#.ONESHELL:
.PHONY: install

#- maker模块
#repo override setting
#imgRepo=docker.io/cfxl
#imgTag=latest
#imgName= option default moduleName

#ci override setting
#ciType=defaults.v1
#ciGroup=repx
#ciContext=.
#ciOutDir=build option default null
#ciSources=cmd/main.go option default null
#ciBinName=  option default moduleName
ciPorts=http-1:80 tcp-1:8080#应用端口 option default null eg: http:80 tcp:8080
ciVolumes=data:/data logs:/logs# option default null eg: data:/data logs:/logs
#ciArgs=-c echo ok  #example of app boot args
ciLiveProbe=http://http-1/liveless #sh,http,tcp
ciReadProbe=http://http-1/readless #sh,http,tcp
ciEnvs=A:80 B:90
#export info
#name image cmd env volumes liveProbe readProbe

.ONESHELL: install
install: #测试
	@cp ${ciOutDir}/${module}/${module} ${HOMER}/.local/bin
	@cp ${ciOutDir}/${module}/${module} ~/.mk/bin
	@${HOMER}/.local/bin/${module} dm -h

